Reepay\Checkout\Gateways\ReepayGateway D

Total Complexity 203
Dependencies 10
Dependents 2
Total lines 1,614
Lines of code 1,052
Logical lines of code 449
Comment lines 296
Methods 28
Properties 15

Methods 28

Method Rating Maintainability Complexity Lines of code
process_payment()
D
16
60 258
get_order_items()
D
27
33 140
is_webhook_configured()
B
39 18 67
add_payment_method()
A
35 10 96
wcs_change_payment_method()
A
36 10 85
process_session_charge()
A
36 9 92
reepay_cancel()
S
53 6 21
refund_payment()
S
57 6 16
get_webhook_url()
S
56 6 16
check_is_active()
S
57 5 16
get_account_info()
S
57 4 17
process_refund()
S
59 4 15
generate_gateway_status_html()
S
48 2 41
get_logo()
S
50 2 31
is_gateway_settings_page()
S
73 4 4
get_language()
S
60 3 14
reepay_card_store()
S
58 3 14
init_form_fields()
S
51 2 29
cancel_payment()
S
64 3 10
capture_payment()
S
63 3 10
get_icon()
S
56 1 19
payment_fields()
S
71 2 6
needs_setup()
S
79 2 3
apply_parent_settings()
S
62 1 11
can_refund()
S
76 1 4
can_cancel()
S
76 1 4
can_capture()
S
75 1 4
__construct()
S
64 1 9